package com.stp.event.service.impl;

import com.stp.event.entity.AliPayEntity;
import com.stp.event.entity.AliPayEventEntity;
import com.stp.event.entity.PayEntity;
import com.stp.event.service.PayService;
import org.springframework.stereotype.Component;

@Component("aliPay")
public class AliPayService implements PayService {
    @Override
    public void pay(PayEntity payEntity) {
        AliPayEntity aliPay = (AliPayEntity) payEntity;
        System.out.println("支付宝支付");
    }
}
